package designpatterns.visitor;

/**
 * @author LiDong
 * @version 1.0.0
 * @createTime 2/17/2022 7:54 PM
 */
public class ConcreteElementB implements Element {


    @Override
    public void accept(Visitor visitor) {
        visitor.visit(this);
    }


    public String operationB() {
        return "具体元素B的操作。";
    }
}
